import Vue from 'vue'
import App from './App.vue'
import router from './router'
import autoRem from '@/assets/js/autoRem'
import '@/assets/css/reset.css'
import '@/assets/css/init.css'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.min.css';
import { List, Popup, Overlay, Collapse, CollapseItem} from "vant";

Vue.use(Collapse);
Vue.use(CollapseItem);
Vue.use(Popup);
Vue.use(List);
Vue.use(Overlay);
Vue.use(VueAwesomeSwiper)

autoRem(750)

window.onresize = () => autoRem(750)

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
